package com.tanhua.domain.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "tanhua_sound")
public class Sound implements Serializable {

    private static final long serialVersionUID = 8605615777246540857L;

    private ObjectId id; //主键id
    private Long userId; //用户id
    private String soundUrl; //音频文件，URL
    private Long created; //创建时间
    private String taskId; //腾讯云送检id
    private Integer state; //审核状态      默认设置为0   --0.为未审核  --1.为审核通过  --2.为审核不通过
    private Long sid; // Long类型，用于推荐系统的模型
}
